package cn.openea.perpartner.cms.web.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import cn.openea.perpartner.common.core.annotation.Excel;
import cn.openea.perpartner.common.core.annotation.Excel.ColumnType;
import cn.openea.perpartner.common.core.web.domain.BaseEntity;

/**
 * (CmsCustomer)实体类
 * @author makejava
 * @since 2022-07-19 22:15:35
 */
@Data
@TableName("cms_customer")
public class CmsCustomer extends BaseEntity {
    @TableId("unid")
    @JsonSerialize(using= ToStringSerializer.class)
    @Excel(name = "序号", cellType = ColumnType.NUMERIC)
    private Long unid;
    /**
     * 平台
     */
    @Excel(name = "平台")
    private String platform;
    /**
     * 公司名称
     */
    @Excel(name = "公司名")
    private String company;
    /**
     * 主营产品
     */
    @Excel(name = "主营产品")
    private String product;
    /**
     * 品牌
     */
    @Excel(name = "品牌")
    private String brand;
    /**
     * 商品名称
     */
    @Excel(name = "商品名称")
    private String commodity;
    /**
     * 商品链接
     */
    @Excel(name = "品牌链接")
    private String commodityLink;
    /**
     * 联系人
     */
    @Excel(name = "联系人")
    private String contacts;
    /**
     * 职务
     */
    @Excel(name = "职务")
    private String job;
    /**
     * 联系电话
     */
    @Excel(name = "手机")
    private String telphone;
    /**
     * 微信
     */
    @Excel(name = "微信")
    private String wechatNum;

    @Excel(name = "沟通情况")
    @TableField(exist = false)
    private String context;
    /**
     * 合作意向（A B C D） 
     */
    @Excel(name = "合作等级")
    private String intention;
    /**
     * 平台id
     */
    private String openeaId;
    /**
     * 类品
     */
    private String category;
    /**
     * 创建人
     */
    private String createUser;
    /**
     * 跟进人
     */
    private String updateUser;
    /**
     * 跟进人昵称
     */
    private String nickName;
    /**
     * 任务状态(0跟进中 1已完成跟进)
     */
    private String status;
    /**
     * 签约状态
     */
    private String signingStatus;
    @TableField(fill = FieldFill.INSERT)
    private String createtime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updatetime;

    @TableField(exist = false)
    private Long dateBetween;

    private String syncStatus;

}

